package com.mine.async.enums;

public enum JobStatusEnum {

    READY(0, "未开始"),

    RUNING(1, "运行中"),

    ENDED(2, "已结束"),

    EXCEPTION(3, "异常");

    private Integer code;

    private String name;

    JobStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
